package cn.strive.eams.supplier.mapper;

import cn.strive.eams.supplier.pojo.dto.SupplierQuery;
import cn.strive.eams.supplier.pojo.entity.Supplier;
import cn.strive.eams.supplier.pojo.vo.SupplierVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SupplierMapper {
    List<SupplierVO> selectSupplier(SupplierQuery supplierQuery);

    void insert(Supplier supplier);

    void update(Supplier supplier);

    void deleteSupplier(Long id);
}
